using GameKitUnity.Core;

namespace OneGame
{
    public class SceneManager
    {
        public static SceneManager Instance { get; } = new SceneManager();
        public event System.Action<string> OnSceneLoaded;

        public void LoadScene(string path)
        {
            AssetLoader.Instance.LoadScene(path);
            OnSceneLoaded?.Invoke(path);
        }
    }
}